package org.dromara.system.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import org.dromara.system.domain.PayOrder;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;



/**
 * 订单视图对象 pay_order
 *
 * @author Gavino
 * @date 2024-10-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PayOrder.class)
public class PayOrderVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    @ExcelProperty(value = "订单ID")
    private Long orderId;

    /**
     * 应用ID
     */
    @ExcelProperty(value = "应用ID")
    private Long appId;

    /**
     * 支付平台ID
     */
    @ExcelProperty(value = "支付平台ID")
    private Long payTypeId;

    /**
     * 订单类型
     */
    @ExcelProperty(value = "订单类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "order_type")
    private Integer orderType;

    /** 短链码 */
    private String linkCode;

    /**
     * A端订单号
     */
    @ExcelProperty(value = "A端订单号")
    private String orderAid;

    /**
     * B端订单号
     */
    @ExcelProperty(value = "B端订单号")
    private String orderNo;

    /**
     * 平台订单号
     */
    @ExcelProperty(value = "平台订单号")
    private String orderCid;

    /**
     * 原始金额
     */
    private BigDecimal aMoney;

    /**
     * 原始美元金额
     */
    private BigDecimal aUsdMoney;

    /**
     * 订单总金额
     */
    @ExcelProperty(value = "订单总金额")
    private BigDecimal orderMoney;

    /**
     * 订单美元金额
     */
    @ExcelProperty(value = "订单美元金额")
    private BigDecimal usdMoney;

    /**
     * 订单总金额
     */
    private BigDecimal cOrderMoney;

    /**
     * 订单美元金额
     */
    private BigDecimal cUsdMoney;

    /**
     * 强制货币金额
     */
    @ExcelProperty(value = "强制货币金额")
    private BigDecimal forceMoney;

    /**
     * 强制货币类型
     */
    @ExcelProperty(value = "强制货币类型")
    private String forceCurrency;

    /**
     * 来源域名
     */
    @ExcelProperty(value = "来源域名")
    private String fromDomain;

    /**
     * 来源IP
     */
    @ExcelProperty(value = "来源IP")
    private String formIp;

    /**
     * 货币类型
     */
    @ExcelProperty(value = "货币类型")
    private String currency;

    /**
     * 汇率
     */
    @ExcelProperty(value = "汇率")
    private BigDecimal rates;

    /**
     * 支付时间
     */
    @ExcelProperty(value = "支付时间")
    private Date payTime;

    /**
     * 真实支付状态
     */
    @ExcelProperty(value = "真实支付状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "order_status")
    private Integer payStatus;

    /**
     * 支付状态
     */
    @ExcelProperty(value = "支付状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "order_status")
    private Integer status;

    /**
     * 是否吃单
     */
    @ExcelProperty(value = "是否吃单")
    private Integer isFeign;

    /**
     * 退款状态
     */
    @ExcelProperty(value = "退款状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "refund_status")
    private Integer refundStatus;

    /**
     * 退款单ID
     */
    @ExcelProperty(value = "退款单ID")
    private String refundId;

    /**
     * 退款金额
     */
    private BigDecimal refundMoney;

    /**
     * 争议状态
     */
    private Integer disputeStatus;

    /**
     * 争议ID
     */
    @ExcelProperty(value = "争议ID")
    private String disputeId;

    /**
     * 争议备注
     */
    @ExcelProperty(value = "争议备注")
    private String disputeRemark;

    /**
     * 风险值
     */
    @ExcelProperty(value = "风险值")
    private String risk;

    /**
     * 风险细节
     */
    @ExcelProperty(value = "风险细节")
    private String riskDetail;

    /**
     * 失败消息
     */
    private String failMsg;

    /**
     * 商品类型
     */
    @ExcelProperty(value = "商品类型")
    private Integer goodsType;

    /**
     * 支付方式
     */
    @ExcelProperty(value = "支付方式")
    private Integer payMethod;

    /**
     * 支付方式名称
     */
    private String payMethodType;

    /**
     * 客户姓名
     */
    @ExcelProperty(value = "客户姓名")
    private String customerName;

    /**
     * 客户电话
     */
    @ExcelProperty(value = "客户电话")
    private String customerPhone;

    /**
     * 客户邮箱
     */
    @ExcelProperty(value = "客户邮箱")
    private String customerEmail;

    /**
     * 客户ip
     */
    @ExcelProperty(value = "客户ip")
    private String customerIp;

    /**
     * 手机号国家
     */
    @ExcelProperty(value = "手机号国家")
    private String phoneCountry;

    /**
     * ip国家
     */
    @ExcelProperty(value = "ip国家")
    private String ipCountry;

    /**
     * 物流状态
     */
    @ExcelProperty(value = "物流状态")
    private Integer trackStatus;

    /**
     * 物流单号
     */
    @ExcelProperty(value = "物流单号")
    private String trackNo;

    /**
     * 物流信息
     */
    @ExcelProperty(value = "物流信息")
    private String trackInfo;

    /**
     * 物流备注
     */
    @ExcelProperty(value = "物流备注")
    private String trackRemark;

    /**
     * session_id
     */
    @ExcelProperty(value = "session_id")
    private String sessionId;

    /**
     * 异步回调地址
     */
    @ExcelProperty(value = "异步回调地址")
    private String callbackUrl;

    /**
     * 成功跳转url
     */
    @ExcelProperty(value = "成功跳转url")
    private String successUrl;

    /**
     * 取消跳转url
     */
    @ExcelProperty(value = "取消跳转url")
    private String cancelUrl;

    /**
     * 失败跳转url
     */
    @ExcelProperty(value = "失败跳转url")
    private String failureUrl;

    /**
     * 备注信息
     */
    @ExcelProperty(value = "备注信息")
    private String remark;

    /**
     * 轮询组平台备注
     */
    private String groupTypeRemark;

    /**
     * 轮询组ID
     */
    private Long groupId;

    /**
     * 收款账号ID
     */
    @ExcelProperty(value = "收款账号ID")
    private Long accountId;

    /**
     * 收款账号
     */
    @ExcelProperty(value = "收款账号")
    private String accountName;

    /**
     * 账单地址信息
     */
    private String customer;

    /**
     * 送货地址信息
     */
    private String shipping;

    /**
     * 产品信息
     */
    private String product;

    /**
     * 付款信息
     */
    private String buyer;

    /**
     * 商户ID
     */
    @ExcelProperty(value = "商户ID")
    private Long clientId;

    /**
     * 商户名称
     */
    @ExcelProperty(value = "商户名称")
    private String clientName;

    /**
     * 代理人ID
     */
    @ExcelProperty(value = "代理人ID")
    private Long agentId;

    /**
     * 代理人名称
     */
    @ExcelProperty(value = "代理人名称")
    private String agentName;

    /**
     * 更新人ID
     */
    @ExcelProperty(value = "更新人ID")
    private Long updateId;

    /**
     * 更新者
     */
    @ExcelProperty(value = "更新者")
    private String updateName;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 支付邮件状态
     */
    private Integer payEmail;

    /**
     * 物流邮件状态
     */
    private Integer trackEmail;

    /**
     * orderSn
     */
    private String orderSn;

    /**
     * 是否隐藏
     */
    private Integer hide;

}
